package com.bos.data.repositories.impl;

import com.bos.data.repositories.BehaviorRespository;
import com.bos.common.PageData;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.Arrays;
import java.util.List;

@Repository
@Transactional
public class BehaviorResponsityImpl extends BaseRepository implements BehaviorRespository {
    public PageData findSales( int pageSize, int pageIndex) {
        StringBuffer sb = new StringBuffer();
        sb.append(" select * from  bos_behavior where 1=1 ");
        List l=Arrays.asList("update_time");
        return this.getPage(sb.toString(), pageSize, pageIndex,l,true);
    }



}
